<?



$Sources = Array (
                    'Prototype.php',
                    'Connection.php',
                    'Protocol.php',
                    'Protocols/HTTP/HTTPHeaders.php',
                    'Protocols/HTTP/HTTPProtocol.php',
                    'stdServer.php'
                 );

$Path = './Network/';

foreach((array)$Sources as $Source)
    require_once $Path.$Source;

$Server = new stdServer;

printf( "Server lisntening on %s:%d...", $Server->IP, $Server->Port );

$Server->Attach(new HTTPProtocol)->Listen();